using System;

namespace Wantn.Share
{
	public sealed class SamplingPos : SamplingBlock, IComparable<SamplingPos>
	{
		private int int_9;

		private int int_10;

		private int int_11;

		public int X
		{
			get
			{
				return int_9;
			}
			set
			{
				int_9 = value;
			}
		}

		public int Y
		{
			get
			{
				return int_10;
			}
			set
			{
				int_10 = value;
			}
		}

		public int Z
		{
			get
			{
				return int_11;
			}
			set
			{
				int_11 = value;
			}
		}


		public SamplingPos(int blockNO, int rowNO, int colNO, int minX, int maxX, int minY, int maxY, int minZ, int maxZ, int x, int y, int z)
		{
			X = x;
			Y = y;
			Z = z;
		}

		public int CompareTo(SamplingPos other)
		{
			return X.CompareTo(other.X);
		}

		public override string ToString()
		{
			return "块号=" + base.BlockNO + "，行号=" + base.RowNO + "，列号=" + base.ColNO + "，X范围=" + base.MinX + "-" + base.MaxX + "，Y范围=" + base.MinY + "-" + base.MaxY + "，Z范围=" + base.MinZ + "-" + base.MaxZ + "，X=" + X + "，Y=" + Y + "，Z=" + Z;
		}
	}
}
